# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'ScanDeviceWindow.ui'
##
## Created by: Qt User Interface Compiler version 6.4.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
    QFont, QFontDatabase, QGradient, QIcon,
    QImage, QKeySequence, QLinearGradient, QPainter,
    QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QAbstractItemView, QApplication, QComboBox, QDialog,
    QGridLayout, QGroupBox, QHBoxLayout, QHeaderView,
    QLabel, QLineEdit, QPushButton, QSizePolicy,
    QSpacerItem, QTableWidget, QTableWidgetItem, QVBoxLayout,
    QWidget)
import Resources.NetworkTestTool_rc

class Ui_FormScanDevice(object):
    def setupUi(self, FormScanDevice):
        if not FormScanDevice.objectName():
            FormScanDevice.setObjectName(u"FormScanDevice")
        FormScanDevice.resize(595, 792)
        icon = QIcon()
        icon.addFile(u":/ScanDevice.png", QSize(), QIcon.Normal, QIcon.Off)
        FormScanDevice.setWindowIcon(icon)
        self.gridLayout = QGridLayout(FormScanDevice)
        self.gridLayout.setObjectName(u"gridLayout")
        self.verticalLayout_27 = QVBoxLayout()
        self.verticalLayout_27.setObjectName(u"verticalLayout_27")
        self.label_51 = QLabel(FormScanDevice)
        self.label_51.setObjectName(u"label_51")
        font = QFont()
        font.setPointSize(12)
        self.label_51.setFont(font)
        self.label_51.setStyleSheet(u"color: rgb(255, 0, 0);")
        self.label_51.setAlignment(Qt.AlignCenter)

        self.verticalLayout_27.addWidget(self.label_51)

        self.tableWidget_Devices = QTableWidget(FormScanDevice)
        if (self.tableWidget_Devices.columnCount() < 5):
            self.tableWidget_Devices.setColumnCount(5)
        __qtablewidgetitem = QTableWidgetItem()
        self.tableWidget_Devices.setHorizontalHeaderItem(0, __qtablewidgetitem)
        __qtablewidgetitem1 = QTableWidgetItem()
        self.tableWidget_Devices.setHorizontalHeaderItem(1, __qtablewidgetitem1)
        __qtablewidgetitem2 = QTableWidgetItem()
        self.tableWidget_Devices.setHorizontalHeaderItem(2, __qtablewidgetitem2)
        __qtablewidgetitem3 = QTableWidgetItem()
        self.tableWidget_Devices.setHorizontalHeaderItem(3, __qtablewidgetitem3)
        __qtablewidgetitem4 = QTableWidgetItem()
        self.tableWidget_Devices.setHorizontalHeaderItem(4, __qtablewidgetitem4)
        self.tableWidget_Devices.setObjectName(u"tableWidget_Devices")
        font1 = QFont()
        font1.setPointSize(10)
        self.tableWidget_Devices.setFont(font1)
        self.tableWidget_Devices.setEditTriggers(QAbstractItemView.NoEditTriggers)
        self.tableWidget_Devices.setSelectionMode(QAbstractItemView.SingleSelection)
        self.tableWidget_Devices.setSelectionBehavior(QAbstractItemView.SelectRows)
        self.tableWidget_Devices.setTextElideMode(Qt.ElideMiddle)
        self.tableWidget_Devices.setWordWrap(False)
        self.tableWidget_Devices.horizontalHeader().setCascadingSectionResizes(True)
        self.tableWidget_Devices.horizontalHeader().setStretchLastSection(True)
        self.tableWidget_Devices.verticalHeader().setVisible(False)
        self.tableWidget_Devices.verticalHeader().setStretchLastSection(False)

        self.verticalLayout_27.addWidget(self.tableWidget_Devices)

        self.horizontalLayout_44 = QHBoxLayout()
        self.horizontalLayout_44.setObjectName(u"horizontalLayout_44")
        self.horizontalSpacer_33 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_44.addItem(self.horizontalSpacer_33)

        self.pushButton_Search = QPushButton(FormScanDevice)
        self.pushButton_Search.setObjectName(u"pushButton_Search")
        self.pushButton_Search.setMinimumSize(QSize(200, 50))
        font2 = QFont()
        font2.setPointSize(16)
        self.pushButton_Search.setFont(font2)

        self.horizontalLayout_44.addWidget(self.pushButton_Search)

        self.horizontalSpacer_34 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_44.addItem(self.horizontalSpacer_34)


        self.verticalLayout_27.addLayout(self.horizontalLayout_44)

        self.groupBox_5 = QGroupBox(FormScanDevice)
        self.groupBox_5.setObjectName(u"groupBox_5")
        self.groupBox_5.setFont(font)
        self.gridLayout_2 = QGridLayout(self.groupBox_5)
        self.gridLayout_2.setObjectName(u"gridLayout_2")
        self.verticalLayout_24 = QVBoxLayout()
        self.verticalLayout_24.setObjectName(u"verticalLayout_24")
        self.label_123 = QLabel(self.groupBox_5)
        self.label_123.setObjectName(u"label_123")
        self.label_123.setFont(font)
        self.label_123.setLayoutDirection(Qt.LeftToRight)
        self.label_123.setAlignment(Qt.AlignCenter)

        self.verticalLayout_24.addWidget(self.label_123)

        self.comboBox_IP = QComboBox(self.groupBox_5)
        self.comboBox_IP.setObjectName(u"comboBox_IP")
        self.comboBox_IP.setMinimumSize(QSize(150, 30))
        self.comboBox_IP.setEditable(True)

        self.verticalLayout_24.addWidget(self.comboBox_IP)


        self.gridLayout_2.addLayout(self.verticalLayout_24, 0, 0, 1, 1)

        self.verticalLayout_25 = QVBoxLayout()
        self.verticalLayout_25.setObjectName(u"verticalLayout_25")
        self.label_124 = QLabel(self.groupBox_5)
        self.label_124.setObjectName(u"label_124")
        self.label_124.setFont(font)
        self.label_124.setLayoutDirection(Qt.LeftToRight)
        self.label_124.setAlignment(Qt.AlignCenter)

        self.verticalLayout_25.addWidget(self.label_124)

        self.lineEdit_CmdPort = QLineEdit(self.groupBox_5)
        self.lineEdit_CmdPort.setObjectName(u"lineEdit_CmdPort")
        self.lineEdit_CmdPort.setMinimumSize(QSize(0, 30))
        self.lineEdit_CmdPort.setFont(font)

        self.verticalLayout_25.addWidget(self.lineEdit_CmdPort)


        self.gridLayout_2.addLayout(self.verticalLayout_25, 0, 1, 1, 1)

        self.verticalLayout_26 = QVBoxLayout()
        self.verticalLayout_26.setObjectName(u"verticalLayout_26")
        self.label_125 = QLabel(self.groupBox_5)
        self.label_125.setObjectName(u"label_125")
        self.label_125.setFont(font)
        self.label_125.setLayoutDirection(Qt.LeftToRight)
        self.label_125.setAlignment(Qt.AlignCenter)

        self.verticalLayout_26.addWidget(self.label_125)

        self.lineEdit_LogPort = QLineEdit(self.groupBox_5)
        self.lineEdit_LogPort.setObjectName(u"lineEdit_LogPort")
        self.lineEdit_LogPort.setMinimumSize(QSize(0, 30))
        self.lineEdit_LogPort.setFont(font)

        self.verticalLayout_26.addWidget(self.lineEdit_LogPort)


        self.gridLayout_2.addLayout(self.verticalLayout_26, 0, 2, 1, 1)

        self.verticalLayout_28 = QVBoxLayout()
        self.verticalLayout_28.setObjectName(u"verticalLayout_28")
        self.label_126 = QLabel(self.groupBox_5)
        self.label_126.setObjectName(u"label_126")
        self.label_126.setFont(font)
        self.label_126.setLayoutDirection(Qt.LeftToRight)
        self.label_126.setAlignment(Qt.AlignCenter)

        self.verticalLayout_28.addWidget(self.label_126)

        self.comboBox_DeviceType = QComboBox(self.groupBox_5)
        self.comboBox_DeviceType.addItem("")
        self.comboBox_DeviceType.addItem("")
        self.comboBox_DeviceType.addItem("")
        self.comboBox_DeviceType.setObjectName(u"comboBox_DeviceType")
        sizePolicy = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_DeviceType.sizePolicy().hasHeightForWidth())
        self.comboBox_DeviceType.setSizePolicy(sizePolicy)
        self.comboBox_DeviceType.setMinimumSize(QSize(150, 30))
        self.comboBox_DeviceType.setFont(font)

        self.verticalLayout_28.addWidget(self.comboBox_DeviceType)


        self.gridLayout_2.addLayout(self.verticalLayout_28, 0, 3, 1, 1)

        self.horizontalLayout_88 = QHBoxLayout()
        self.horizontalLayout_88.setObjectName(u"horizontalLayout_88")
        self.horizontalSpacer_63 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_88.addItem(self.horizontalSpacer_63)

        self.pushButton_Connect = QPushButton(self.groupBox_5)
        self.pushButton_Connect.setObjectName(u"pushButton_Connect")
        self.pushButton_Connect.setMinimumSize(QSize(200, 50))
        self.pushButton_Connect.setFont(font2)

        self.horizontalLayout_88.addWidget(self.pushButton_Connect)

        self.horizontalSpacer_64 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_88.addItem(self.horizontalSpacer_64)


        self.gridLayout_2.addLayout(self.horizontalLayout_88, 1, 0, 1, 4)


        self.verticalLayout_27.addWidget(self.groupBox_5)


        self.gridLayout.addLayout(self.verticalLayout_27, 0, 0, 1, 1)


        self.retranslateUi(FormScanDevice)

        QMetaObject.connectSlotsByName(FormScanDevice)
    # setupUi

    def retranslateUi(self, FormScanDevice):
        FormScanDevice.setWindowTitle(QCoreApplication.translate("FormScanDevice", u"\u626b\u63cf\u8bbe\u5907", None))
        self.label_51.setText(QCoreApplication.translate("FormScanDevice", u"\u53cc\u51fb\u4e00\u884c\u8fde\u63a5\u8bbe\u5907", None))
        ___qtablewidgetitem = self.tableWidget_Devices.horizontalHeaderItem(0)
        ___qtablewidgetitem.setText(QCoreApplication.translate("FormScanDevice", u"\u8bbe\u5907IP", None));
        ___qtablewidgetitem1 = self.tableWidget_Devices.horizontalHeaderItem(1)
        ___qtablewidgetitem1.setText(QCoreApplication.translate("FormScanDevice", u"\u8bbe\u5907\u7c7b\u578b", None));
        ___qtablewidgetitem2 = self.tableWidget_Devices.horizontalHeaderItem(2)
        ___qtablewidgetitem2.setText(QCoreApplication.translate("FormScanDevice", u"\u547d\u4ee4\u7aef\u53e3", None));
        ___qtablewidgetitem3 = self.tableWidget_Devices.horizontalHeaderItem(3)
        ___qtablewidgetitem3.setText(QCoreApplication.translate("FormScanDevice", u"\u65e5\u5fd7\u7aef\u53e3", None));
        ___qtablewidgetitem4 = self.tableWidget_Devices.horizontalHeaderItem(4)
        ___qtablewidgetitem4.setText(QCoreApplication.translate("FormScanDevice", u"MAC\u5730\u5740", None));
        self.pushButton_Search.setText(QCoreApplication.translate("FormScanDevice", u"\u626b\u63cf\u8bbe\u5907", None))
        self.groupBox_5.setTitle(QCoreApplication.translate("FormScanDevice", u"\u76f4\u8fde\u8bbe\u5907", None))
        self.label_123.setText(QCoreApplication.translate("FormScanDevice", u"IP\u5730\u5740", None))
        self.comboBox_IP.setCurrentText("")
        self.label_124.setText(QCoreApplication.translate("FormScanDevice", u"\u670d\u52a1\u7aef\u53e3", None))
        self.lineEdit_CmdPort.setText(QCoreApplication.translate("FormScanDevice", u"10800", None))
        self.label_125.setText(QCoreApplication.translate("FormScanDevice", u"\u65e5\u5fd7\u7aef\u53e3", None))
        self.lineEdit_LogPort.setText(QCoreApplication.translate("FormScanDevice", u"10801", None))
        self.label_126.setText(QCoreApplication.translate("FormScanDevice", u"\u8bbe\u5907\u7c7b\u578b", None))
        self.comboBox_DeviceType.setItemText(0, QCoreApplication.translate("FormScanDevice", u"\u667a\u80fd\u706f", None))
        self.comboBox_DeviceType.setItemText(1, QCoreApplication.translate("FormScanDevice", u"\u676d\u7814\u6c34\u6d78", None))
        self.comboBox_DeviceType.setItemText(2, QCoreApplication.translate("FormScanDevice", u"\u676d\u7814\u6c34\u6d78(Coap)", None))

        self.pushButton_Connect.setText(QCoreApplication.translate("FormScanDevice", u"\u8fde\u63a5\u8bbe\u5907", None))
    # retranslateUi

